The actor's GtkIMContext is freed in dispose and reset in unrealize - as
ClutterActor's dispose will unrealize the actor if necessary, chaining
up to the parent after clearing the im context will result in warnings
if the actor is still realized, so chain up first.
https://bugzilla.gnome.org/show_bug.cgi?id=686016
{
StIMTextPrivate *priv = ST_IM_TEXT (object)->priv;
- g_clear_object (&priv->im_context);
-
G_OBJECT_CLASS (st_im_text_parent_class)->dispose (object);
+
+ g_clear_object (&priv->im_context);
}
static void